package com.yyhn.guilimall.ware.dao;

import com.yyhn.guilimall.ware.entity.WareSkuEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * 商品库存
 * 
 * @author wanjiaceng
 * @email wanjiaceng@gmail.com
 * @date 2020-12-03 20:10:54
 */
@Mapper
public interface WareSkuDao extends BaseMapper<WareSkuEntity> {

    void addStock(Long skuId, Long wareId, Integer skuNum);

    Long getSkuStock(Long skuId);
}
